package cn.yuanqiao.archive.yuguidang.service;/**
 * @author 赵常飞
 * @date 2023/9/26 14:24
 */

import cn.yuanqiao.archive.yuguidang.domain.YuguidangArchiveForm;
import com.alibaba.fastjson2.JSONObject;

import java.util.List;
import java.util.Map;

/**
 *
 *@AUTHOR:赵常飞
 *@date 2023/9/26 14:24
 */
public interface IYuguidangService {
    boolean checkArchiveIsAddForm(List<YuguidangArchiveForm> yuguidangArchiveForms);

    boolean checkArchiveUserCategoryForm(List<YuguidangArchiveForm> yuguidangArchiveForms);

    Map<String, List<String>> getIdWhichHasData(String idss, String daType, Long categoryId);

    int batchInsertYqdaArchiveForm(List<YuguidangArchiveForm> yuguidangArchiveForms);

    int updateYqArchiveState(List<YuguidangArchiveForm> yuguidangArchiveForms, int i);

    YuguidangArchiveForm selectYqdaArchiveFormByFormId(Long formId);

    List<Map<String, Object>> getArchiveInfo(YuguidangArchiveForm yuguidangArchiveForm, String toString, String level);

    int updateYqdaArchiveForm(YuguidangArchiveForm yuguidangArchiveForm);

    List<YuguidangArchiveForm> selectYqdaArchiveFormsByArchiveIds(String[] archiveIds);

    int deleteYqdaArchiveFormByArchiveIdsAndUserId(String[] archiveIds, Long userId);

    List<Map<String, Object>> getArchiveListByArchiveCategory(YuguidangArchiveForm yuguidangArchiveForm);

    List<YuguidangArchiveForm> selectYqdaArchiveFormList(YuguidangArchiveForm queryWarpper);

    List<Map<String, Object>> getArchiveListByArchiveFormList(List<YuguidangArchiveForm> yuguidangArchiveForms);

    int batchUpdateByArchiveIds(YuguidangArchiveForm yuguidangArchiveForm);

    int tuihui(JSONObject object);
}
